
import { useState } from "react"
import Basic from "./pages/basic";
import Basic2 from "./pages/basic2";
import useRouterWithGuard from "./hooks/useRouterWithGuard";
// import ReducerCom from "./09.useReducer";
import routes from "./router";
import TodoListContainer from "./todolist";
// function App() {
//   let routeElement = useRouterWithGuard('qf-token', routes,<h3>正在加载了啦...</h3>)
//   return (
//     <div className="App">
//       {routeElement}
//     </div>
//   );
// }

function App() {
  return (
    <TodoListContainer />
  )
}

export default App;
